package com.kangfu.db.mapper;


import com.kangfu.db.domain.entity.HuaweiHealthBluetoohDetail;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;


public interface HuaweiHealthBluetoohDetailMapper {

    public int insertHuaweiHealthBluetoohDetail(HuaweiHealthBluetoohDetail huaweiHealthBluetoohDetail);

    public int updateHuaweiHealthBluetoohDetail(HuaweiHealthBluetoohDetail huaweiHealthBluetoohDetail);

    public Integer selectIdByUserIdAndTime(@Param("userId") int userId, @Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime);

    public List<HuaweiHealthBluetoohDetail> selectDataByUserIdAndTime(@Param("userId") int userId, @Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime);
}
